package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_orders_pbi
 * 
 * @author ruoyi
 * @date 2022-04-09
 */
public class TOrdersPbi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String pbiId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String orderId;

    /** 期数 */
    @Excel(name = "期数")
    private Long pbiSq;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal unitPrice;

    /** 付款状态（0已还，1待还） */
    @Excel(name = "付款状态", readConverterExp = "0=已还，1待还")
    private Long paiedTag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date paiedTime;

    /** 支付方式 1为微信支付 2为余额支付 */
    @Excel(name = "支付方式 1为微信支付 2为余额支付")
    private Long paiedWay;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deleteFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createdBy;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createdTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updatedBy;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updatedTime;

    public void setPbiId(String pbiId) 
    {
        this.pbiId = pbiId;
    }

    public String getPbiId() 
    {
        return pbiId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setPbiSq(Long pbiSq) 
    {
        this.pbiSq = pbiSq;
    }

    public Long getPbiSq() 
    {
        return pbiSq;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setPaiedTag(Long paiedTag) 
    {
        this.paiedTag = paiedTag;
    }

    public Long getPaiedTag() 
    {
        return paiedTag;
    }
    public void setPaiedTime(Date paiedTime) 
    {
        this.paiedTime = paiedTime;
    }

    public Date getPaiedTime() 
    {
        return paiedTime;
    }
    public void setPaiedWay(Long paiedWay) 
    {
        this.paiedWay = paiedWay;
    }

    public Long getPaiedWay() 
    {
        return paiedWay;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pbiId", getPbiId())
            .append("orderId", getOrderId())
            .append("pbiSq", getPbiSq())
            .append("unitPrice", getUnitPrice())
            .append("paiedTag", getPaiedTag())
            .append("paiedTime", getPaiedTime())
            .append("paiedWay", getPaiedWay())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
